<!-- 
 ** @QFi-template-author wanghua 
 ** @path view/vecspace/middleplatform/filemanagementpart/uploadFileAccessStat/uploadFileAccessStat_edit.ftl
 ** @url  api/view/middleplatform_uploadFileAccessStatHandler/edit
 ** @class UploadFileAccessStatHandler.edit()
 *  -->
<!DOCTYPE HTML>
<html> 
  <head>
	<base href="${_contextPath}">
	<title>文件访问统计详细信息</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">	
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">

<link rel="stylesheet" type="text/css" href="js/plugins/bootstrap3/css/bootstrap.css?v=${deploy_File_Ver!}"/>
<link rel="stylesheet" type="text/css" href="js/plugins/bootstrap-select/bootstrap-select.css?v=${deploy_File_Ver!}"/>
<link rel="stylesheet" type="text/css" href="js/plugins/buttons/buttons.css?v=${deploy_File_Ver!}"/>
<link rel="stylesheet" type="text/css" href="js/plugins/icheck/skins/icheck.css?v=${deploy_File_Ver!}"/>
<link rel="stylesheet" type="text/css" href="js/plugins/bootstrap-datetimepicker/bootstrap-datetimepicker.css?v=${deploy_File_Ver!}"/>
<link rel="stylesheet" type="text/css" href="js/plugins/opentip/opentip.css?v=${deploy_File_Ver!}"/>
<link rel="stylesheet" type="text/css" href="css/base2.0.css?v=${deploy_File_Ver!}"/>
<link rel="stylesheet" type="text/css" href="css/theme.css?v=${deploy_File_Ver!}"/>
<link rel="stylesheet" type="text/css" href="js/plugins/layui2/css/modules/layer/default/layer.css?v=${deploy_File_Ver!}"/>
<link rel="stylesheet" type="text/css" href="js/plugins/layui2/css/layui.css?v=${deploy_File_Ver!}"/>

<script type="text/javascript" src="js/jquery.min.js?v=${deploy_File_Ver!}"></script>
<script type="text/javascript" src="js/common.js?v=${deploy_File_Ver!}"></script>
<script type="text/javascript" src="js/plugins/bootstrap3/bootstrap.min.js?v=${deploy_File_Ver!}"></script>
<script type="text/javascript" src="js/framework/dkDialog.js?v=${deploy_File_Ver!}"></script>

<script type="text/javascript" src="js/plugins/layui2/layui.js?v=${deploy_File_Ver!}"></script>
<script type="text/javascript" src="js/plugins/layui2/lay/all.js?v=${deploy_File_Ver!}"></script>
<script type="text/javascript" src="js/plugins/layui2/lay/modules/element.js?v=${deploy_File_Ver!}"></script>
<script type="text/javascript" src="js/plugins/layui2/lay/modules/layer.js?v=${deploy_File_Ver!}"></script>
<script type="text/javascript" src="js/plugins/layui2/lay/modules/laypage.js?v=${deploy_File_Ver!}"></script>
<script type="text/javascript" src="js/plugins/layui2/lay/modules/laytpl.js?v=${deploy_File_Ver!}"></script>
<script type="text/javascript" src="js/plugins/layui2/lay/modules/form.js?v=${deploy_File_Ver!}"></script>
<script type="text/javascript" src="js/plugins/layui2/lay/modules/table.js?v=${deploy_File_Ver!}"></script>

<script type="text/javascript" src="js/plugins/icheck/icheck.js?v=${deploy_File_Ver!}"></script>
<script type="text/javascript" src="js/dkform/form.json.js?v=${deploy_File_Ver!}"></script>
<script type="text/javascript" src="js/dateUtils.js?v=${deploy_File_Ver!}"></script>

	<script type="text/javascript">
	//在这里写如js代码
		var basePath = "${_contextPath}";
		var jsessionId = "${_sessionId}";
		var pageUUID = "${_pageUUID}";
		var id ="${id!?html}";
		if(id=='null')id = "";
		$().ready(function() {
			$('input').iCheck();
			getData(id);
		});

		function getData(id){
			var url = basePath + 'api/base/middleplatform_uploadFileAccessStatHandler/getUploadFileAccessStatEx';
			$.post(url,{"id":id},
				function(data, textStatus, jqXHR){
					if(data.hasError){
						alert(data.errorMessage); 
					}else{
						var item = data;
						/**对特殊数据做格式处理**/
						//item.logDate = numberUtils.numberFormatsToFixed(item.logDate);
						//item.minuteTick = numberUtils.numberFormatsToFixed(item.minuteTick);
						//item.fileTimes = numberUtils.numberFormatsToFixed(item.fileTimes);
						//item.fileBytes = numberUtils.numberFormatsToFixed(item.fileBytes);

					$("#form1").json2form({'data':item});
				}
			});
		}
	</script>
	<!--在这里写入css代码-->
	<style type="text/css">
	</style>
</head>

<body class="dkInfoFormBody">
<form id='form1' name='form1'>

<table id='dkInfoTable' class='dkInfoForm content'>

	<tr>
		<td class='dktd_0'><label for='logDate' class='dk_lbl control-label'>日期:</label></td>
		<td class='dktd_1' colspan="1">
			<span id='logDate' name='logDate' class='dtInteger form-value'></span>
		</td>
	</tr>
	<tr>
		<td class='dktd_0'><label for='minuteTick' class='dk_lbl control-label'>5分钟刻度值:</label></td>
		<td class='dktd_1' colspan="1">
			<span id='minuteTick' name='minuteTick' class='dtInteger form-value'></span>
		</td>
	</tr>
	<tr>
		<td class='dktd_0'><label for='fileServer' class='dk_lbl control-label'>服务器IP+端口:</label></td>
		<td class='dktd_1' colspan="10">
			<span id='fileServer' name='fileServer' class='dtString form-value'></span>
		</td>
	</tr>
	<tr>
		<td class='dktd_0'><label for='fileTimes' class='dk_lbl control-label'>访问文件次数:</label></td>
		<td class='dktd_1' colspan="1">
			<span id='fileTimes' name='fileTimes' class='dtInteger form-value'></span>
		</td>
	</tr>
	<tr>
		<td class='dktd_0'><label for='fileBytes' class='dk_lbl control-label'>下载字节数（MB）:</label></td>
		<td class='dktd_1' colspan="10">
			<span id='fileBytes' name='fileBytes' class='dtInteger form-value'></span>
		</td>
	</tr>

</table>
</form>

</body>
</html>
